package ch2;

public class HandlePhone {
	String brand;
	String series;
	int money;
	Battery b;// 电池

	public void showInfo() {
		System.out.println("这个手机品牌是" + brand);
		System.out.println("型号：" + series);
		System.out.println("价格是" + money + "元");
		System.out.println("他的电池信息如下：");
		System.out.println("牌子是" + b.brand + ",颜色是" + b.color + ",容量是" + b.cap + "毫安");
	}
}
